package com.dnzx.service;

import java.util.List;

import org.dnzx.framework.page.PageResult;

import com.dnzx.model.CategoryBO;

/**
 * 商品分类
 */
public interface ICategoryService {

	public void save(CategoryBO categoryBO) throws Exception ;

	public void delete(Long id) throws Exception ;

	public void update(CategoryBO categoryBO) throws Exception ;

	public CategoryBO get(Long id);

	public CategoryBO get(CategoryBO categoryBO);

	public List<CategoryBO> queryList(CategoryBO categoryBO);

	public PageResult<List<CategoryBO>> queryPage(CategoryBO categoryBO, PageResult<List<CategoryBO>> pageResult);

}
